﻿using Dao;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Service
{
    public class ServiceClass : IService
    {
        private readonly IDao iDao;

        public ServiceClass(IDao iDao)
        {
            this.iDao = iDao;
        }


        public string ServiceMethod()
        {
            return iDao.DaoMethod();
        }
    }
}
